<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客户信息</title>
<style type="text/css">
#table th {
	max-height:30px;
	min-width:100px;
}

</style>
</head>
<body>
<table width="100%" height="100%">
<tr>
	<td valign="top">
		<s:if test="%{role==0}">
			<jsp:include page="../readhead.jsp"/>
		</s:if>
		<s:elseif test="%{role==1}">
			<jsp:include page="../writehead.jsp"/>
		</s:elseif>
		<s:elseif test="%{role==2}">
			<jsp:include page="../head.jsp"/>
		</s:elseif>
	</td>
</tr>
</table>

<div>
<table id= "table" border="1" cellspacing="0">
	<tr>
	<s:iterator id="infolisttitle" value="allSelectedViewList">
		<th>${infolisttitle.pname}</th>
	</s:iterator>
		<th>修改</th>
	</tr>
	<s:iterator id="allinfo" value="allValue" >
		<tr>
			<s:iterator id="inner" value="top.listValue">
				<td><s:property value="#inner"/></td>
			</s:iterator>
			<!-- <td><s:a href="modifyInfoAction" name="modifyInfoId" value="top.infoid">修改</s:a></td> -->
			<s:url id="url" action="loadModifyInfoAction"> 
                    <s:param name="modifyInfoId"> 
                        <s:property value="top.infoid"/> 
                    </s:param> 
                </s:url> 
			<td>
			<s:a href="%{url}" target="_blank">修改</s:a>
			</td>
		</tr>
	</s:iterator>
</table>
</div>
</body>
</html>